package cyou.breathe.blog.article.domain.entity.convertor;

import cyou.breathe.blog.api.article.model.ArticleVO;
import cyou.breathe.blog.article.domain.entity.Article;
import org.mapstruct.Mapper;
import org.mapstruct.NullValueCheckStrategy;
import org.mapstruct.factory.Mappers;

/**
 * @author: breathe
 * @createTime: 2025-09-03
 */
@Mapper(nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ArticleConvertor {
    ArticleConvertor INSTANCE = Mappers.getMapper(ArticleConvertor.class);


    ArticleVO mapToVO (Article article);
}
